package com.movitech.mobile.cz.base.sys.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.movitech.mobile.cz.base.sys.entity.SysStandardArea;
import com.movitech.mobile.cz.base.sys.mapper.SysStandardAreaMapper;
import com.movitech.mobile.cz.base.sys.mapper.ext.ExtSysStandardAreaMapper;
import com.movitech.mobile.cz.base.sys.service.SysStandardAreaService;
import com.movitech.mobile.cz.base.sys.vo.SysStandardAreaVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 地区码表 服务实现类
 * </p>
 *
 * @author Movitech Mobile
 * @since 2018-09-04
 */
@Service
public class SysStandardAreaServiceImpl extends ServiceImpl<SysStandardAreaMapper, SysStandardArea> implements SysStandardAreaService {

    @Autowired
    private ExtSysStandardAreaMapper extSysStandardAreaMapper;
    @Override
    public List<SysStandardAreaVo> selectProAndcities() {
        return extSysStandardAreaMapper.selectProAndCities();
    }
}
